package com.sky.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author sky
 * @create 2021-07-16 16:29
 */
@ApiModel(value = "com-sky-domain-PatientFile")
@TableName(value = "hos_patient_file")
public class PatientFile extends BaseEntity {
    /**
     * 患者id
     */
    @TableId(value = "patient_id", type = IdType.INPUT)
    @ApiModelProperty(value = "患者id")
    private String patientId;

    /**
     * 紧急联系人
     */
    @TableField(value = "emergency_contact_name")
    @ApiModelProperty(value = "紧急联系人")
    private String emergencyContactName;

    /**
     * 紧急联系人电话
     */
    @TableField(value = "emergency_contact_phone")
    @ApiModelProperty(value = "紧急联系人电话")
    private String emergencyContactPhone;

    /**
     * 爸爸,妈妈,儿子,女儿,亲戚,朋友
     */
    @TableField(value = "emergency_contact_relation")
    @ApiModelProperty(value = "爸爸,妈妈,儿子,女儿,亲戚,朋友")
    private String emergencyContactRelation;

    /**
     * 左耳听力 正常  耳聋
     */
    @TableField(value = "left_ear_hearing")
    @ApiModelProperty(value = "左耳听力 正常  耳聋")
    private String leftEarHearing;

    /**
     * 右耳听力 正常  耳聋
     */
    @TableField(value = "right_ear_hearing")
    @ApiModelProperty(value = "右耳听力 正常  耳聋")
    private String rightEarHearing;

    /**
     * 左眼视力
     */
    @TableField(value = "left_vision")
    @ApiModelProperty(value = "左眼视力")
    private BigDecimal leftVision;

    /**
     * 右眼视力
     */
    @TableField(value = "right_vision")
    @ApiModelProperty(value = "右眼视力")
    private BigDecimal rightVision;

    /**
     * 身高
     */
    @TableField(value = "height")
    @ApiModelProperty(value = "身高")
    private BigDecimal height;

    /**
     * 体重
     */
    @TableField(value = "weight")
    @ApiModelProperty(value = "体重")
    private BigDecimal weight;

    /**
     * 血型 A  B  AB  O    R-阴 RH-阳
     */
    @TableField(value = "blood_type")
    @ApiModelProperty(value = "血型 A  B  AB  O    R-阴 RH-阳")
    private String bloodType;

    /**
     * 个人史
     */
    @TableField(value = "personal_info")
    @ApiModelProperty(value = "个人史")
    private String personalInfo;

    /**
     * 家族史
     */
    @TableField(value = "family_info")
    @ApiModelProperty(value = "家族史")
    private String familyInfo;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    public static final String COL_PATIENT_ID = "patient_id";

    public static final String COL_EMERGENCY_CONTACT_NAME = "emergency_contact_name";

    public static final String COL_EMERGENCY_CONTACT_PHONE = "emergency_contact_phone";

    public static final String COL_EMERGENCY_CONTACT_RELATION = "emergency_contact_relation";

    public static final String COL_LEFT_EAR_HEARING = "left_ear_hearing";

    public static final String COL_RIGHT_EAR_HEARING = "right_ear_hearing";

    public static final String COL_LEFT_VISION = "left_vision";

    public static final String COL_RIGHT_VISION = "right_vision";

    public static final String COL_HEIGHT = "height";

    public static final String COL_WEIGHT = "weight";

    public static final String COL_BLOOD_TYPE = "blood_type";

    public static final String COL_PERSONAL_INFO = "personal_info";

    public static final String COL_FAMILY_INFO = "family_info";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";

    /**
     * 获取患者id
     *
     * @return patient_id - 患者id
     */
    public String getPatientId() {
        return patientId;
    }

    /**
     * 设置患者id
     *
     * @param patientId 患者id
     */
    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    /**
     * 获取紧急联系人
     *
     * @return emergency_contact_name - 紧急联系人
     */
    public String getEmergencyContactName() {
        return emergencyContactName;
    }

    /**
     * 设置紧急联系人
     *
     * @param emergencyContactName 紧急联系人
     */
    public void setEmergencyContactName(String emergencyContactName) {
        this.emergencyContactName = emergencyContactName;
    }

    /**
     * 获取紧急联系人电话
     *
     * @return emergency_contact_phone - 紧急联系人电话
     */
    public String getEmergencyContactPhone() {
        return emergencyContactPhone;
    }

    /**
     * 设置紧急联系人电话
     *
     * @param emergencyContactPhone 紧急联系人电话
     */
    public void setEmergencyContactPhone(String emergencyContactPhone) {
        this.emergencyContactPhone = emergencyContactPhone;
    }

    /**
     * 获取爸爸,妈妈,儿子,女儿,亲戚,朋友
     *
     * @return emergency_contact_relation - 爸爸,妈妈,儿子,女儿,亲戚,朋友
     */
    public String getEmergencyContactRelation() {
        return emergencyContactRelation;
    }

    /**
     * 设置爸爸,妈妈,儿子,女儿,亲戚,朋友
     *
     * @param emergencyContactRelation 爸爸,妈妈,儿子,女儿,亲戚,朋友
     */
    public void setEmergencyContactRelation(String emergencyContactRelation) {
        this.emergencyContactRelation = emergencyContactRelation;
    }

    /**
     * 获取左耳听力 正常  耳聋
     *
     * @return left_ear_hearing - 左耳听力 正常  耳聋
     */
    public String getLeftEarHearing() {
        return leftEarHearing;
    }

    /**
     * 设置左耳听力 正常  耳聋
     *
     * @param leftEarHearing 左耳听力 正常  耳聋
     */
    public void setLeftEarHearing(String leftEarHearing) {
        this.leftEarHearing = leftEarHearing;
    }

    /**
     * 获取右耳听力 正常  耳聋
     *
     * @return right_ear_hearing - 右耳听力 正常  耳聋
     */
    public String getRightEarHearing() {
        return rightEarHearing;
    }

    /**
     * 设置右耳听力 正常  耳聋
     *
     * @param rightEarHearing 右耳听力 正常  耳聋
     */
    public void setRightEarHearing(String rightEarHearing) {
        this.rightEarHearing = rightEarHearing;
    }

    /**
     * 获取左眼视力
     *
     * @return left_vision - 左眼视力
     */
    public BigDecimal getLeftVision() {
        return leftVision;
    }

    /**
     * 设置左眼视力
     *
     * @param leftVision 左眼视力
     */
    public void setLeftVision(BigDecimal leftVision) {
        this.leftVision = leftVision;
    }

    /**
     * 获取右眼视力
     *
     * @return right_vision - 右眼视力
     */
    public BigDecimal getRightVision() {
        return rightVision;
    }

    /**
     * 设置右眼视力
     *
     * @param rightVision 右眼视力
     */
    public void setRightVision(BigDecimal rightVision) {
        this.rightVision = rightVision;
    }

    /**
     * 获取身高
     *
     * @return height - 身高
     */
    public BigDecimal getHeight() {
        return height;
    }

    /**
     * 设置身高
     *
     * @param height 身高
     */
    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    /**
     * 获取体重
     *
     * @return weight - 体重
     */
    public BigDecimal getWeight() {
        return weight;
    }

    /**
     * 设置体重
     *
     * @param weight 体重
     */
    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    /**
     * 获取血型 A  B  AB  O    R-阴 RH-阳
     *
     * @return blood_type - 血型 A  B  AB  O    R-阴 RH-阳
     */
    public String getBloodType() {
        return bloodType;
    }

    /**
     * 设置血型 A  B  AB  O    R-阴 RH-阳
     *
     * @param bloodType 血型 A  B  AB  O    R-阴 RH-阳
     */
    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    /**
     * 获取个人史
     *
     * @return personal_info - 个人史
     */
    public String getPersonalInfo() {
        return personalInfo;
    }

    /**
     * 设置个人史
     *
     * @param personalInfo 个人史
     */
    public void setPersonalInfo(String personalInfo) {
        this.personalInfo = personalInfo;
    }

    /**
     * 获取家族史
     *
     * @return family_info - 家族史
     */
    public String getFamilyInfo() {
        return familyInfo;
    }

    /**
     * 设置家族史
     *
     * @param familyInfo 家族史
     */
    public void setFamilyInfo(String familyInfo) {
        this.familyInfo = familyInfo;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取更新时间
     *
     * @return update_time - 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     *
     * @param updateTime 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}